/**
 * Package:com.goldcitynet.server.command.down;
 * $Id$
 * Copyright(c) 2001-2005 www.afteryuan.com
 */
package com.afteryuan.server.command.down.core;

import com.afteryuan.server.command.down.CommandDown;

import java.util.Map;

/**
 * ExceptionDown
 * <p/>
 * <p><a href="ResopnsePolicy.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:afteryuan@afteryuan.com">$Author$</a>
 * @version $Revision$
 */
public class MessageDown extends CommandDown {
    /**
     * 发送范围:整个服务器
     */
    public static final Integer SCOPE_SERVER = 0;
    /**
     * 发送范围:当前场景
     */
    public static final Integer SCOPE_ROOM = 1;
    /**
     * 发送范围:当前avatar
     */
    public static final Integer SCOPE_AVATAR = 2;

    /**
     * 用户加入场景
     */
    public static final Integer CODE_JOINROOM = 101;

    public Integer code;
    public Integer scope;
    public Map<String,String> headers;
    public String message;

    public void setHandler() {
        this.handler ="";
    }
}